package com.nine.entity;



/**
 * Category entity. @author MyEclipse Persistence Tools
 */

public class Category  implements java.io.Serializable {


    // Fields    

     private Integer categoryId;
     private String name;
     private Integer parentCategoryId;
     private String description;
     private String photoPath;


    // Constructors

    /** default constructor */
    public Category() {
    }

	/** minimal constructor */
    public Category(String name, Integer parentCategoryId) {
        this.name = name;
        this.parentCategoryId = parentCategoryId;
    }
    
    /** full constructor */
    public Category(String name, Integer parentCategoryId, String description, String photoPath) {
        this.name = name;
        this.parentCategoryId = parentCategoryId;
        this.description = description;
        this.photoPath = photoPath;
    }

   
    // Property accessors

    public Integer getCategoryId() {
        return this.categoryId;
    }
    
    public void setCategoryId(Integer categoryId) {
        this.categoryId = categoryId;
    }

    public String getName() {
        return this.name;
    }
    
    public void setName(String name) {
        this.name = name;
    }

    public Integer getParentCategoryId() {
        return this.parentCategoryId;
    }
    
    public void setParentCategoryId(Integer parentCategoryId) {
        this.parentCategoryId = parentCategoryId;
    }

    public String getDescription() {
        return this.description;
    }
    
    public void setDescription(String description) {
        this.description = description;
    }

    public String getPhotoPath() {
        return this.photoPath;
    }
    
    public void setPhotoPath(String photoPath) {
        this.photoPath = photoPath;
    }
   








}